github.com/gotd/td/mtproto.Conn.messageIDBuf (field)

6 uses

	github.com/gotd/td/mtproto (current package)
		conn.go#L69: 	messageIDBuf MessageBuf // replay attack protection
		conn.go#L164: 		messageIDBuf: proto.NewMessageIDBuf(100),
		handle_container.go#L38: 	if c.messageIDBuf == nil || c.messageIDBuf.Consume(msg.ID) {
		read.go#L107: 	if !c.messageIDBuf.Consume(msg.MessageID) {
		session.go#L146: 	if b, ok := c.messageIDBuf.(interface{ Reset() }); ok {